WooCommerce\Square\Framework\Lifecycle S

Total Complexity 42
Dependencies 1
Dependents 1
Total lines 536
Lines of code 180
Logical lines of code 85
Comment lines 228
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
init()
S
56 4 20
add_admin_notices()
S
60 4 14
upgrade()
S
62 4 10
get_event_history()
S
61 3 13
store_event()
S
52 2 26
generate_milestone_notice_message()
S
55 2 20
install_default_settings()
S
68 3 7
add_hooks()
S
64 3 9
register_milestone_message()
S
63 2 10
handle_activation()
S
70 2 6
trigger_milestone()
S
70 2 6
get_milestone_version()
S
71 2 6
set_milestone_version()
S
75 1 4
set_installed_version()
S
79 1 3
get_installed_version()
S
80 1 3
__construct()
S
77 1 4
get_milestone_messages()
S
80 1 3
get_event_history_option_name()
S
82 1 3
add_upgrade_event()
S
70 1 6
handle_deactivation()
S
77 1 4
get_plugin()
S
82 1 3